﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JGTZSJ.aspx.cs" Inherits="YHGL_RZCX" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
  Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
  Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title>价格调整时间选择</title>
  <style type="text/css">
    body
    {
      color: #000;
      background-color: #EEF2FB;
      margin: 0px;
      font-family: "宋体";
      font-size: 12px;
    }
  </style>
  <link href="../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <form id="form1" runat="server">
  <table width="615" border="1" cellspacing="0" cellpadding="0" class="table1">
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        时间选择
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <table>
          <tr>
            <td>
              <dxe:ASPxDateEdit ID="date1" runat="server" Width="90px">
              </dxe:ASPxDateEdit>
            </td>
            <td>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="date1"
                ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
            <td>
              <dxe:ASPxDateEdit ID="date2" runat="server" Width="90px">
              </dxe:ASPxDateEdit>
            </td>
            <td>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="date2"
                ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        用气性质选择
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <asp:CheckBoxList ID="cblYQXZ" runat="server" RepeatDirection="Horizontal" RepeatColumns="3">
        </asp:CheckBoxList>
        <asp:HiddenField ID="hlYQXZ" runat="server" />
        <%-- <asp:DropDownList ID="ddlYQXZ" runat="server">
        </asp:DropDownList>--%>
      </td>
    </tr>
  </table>
  <table width="615">
    <tr>
      <td align="center">
        <asp:Button ID="btnQuery" runat="server" Text="保存" OnClick="btnQuery_Click" OnClientClick="return confirm('确定保存所选时间作为价格调整时间？')" />
        <asp:Button ID="btn" runat="server" Text="查询" OnClick="btn_Click" />
      </td>
    </tr>
  </table>
  <br />
  <div style="width: 98%;">
    <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False"
      KeyFieldName="ID" Width="700" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css"
      CssPostfix="Office2003_Blue" Theme="Aqua">
      <SettingsBehavior AllowFocusedRow="True" AutoFilterRowInputDelay="-1" />
      <SettingsPager Mode="ShowPager" PageSize="12">
        <Summary Text="总页数 {1} 当前页 {0} (总记录 {2})" />
      </SettingsPager>
      <Styles CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" CssPostfix="Office2003_Blue">
        <Header ImageSpacing="5px" SortingImageSpacing="5px">
        </Header>
        <LoadingPanel ImageSpacing="10px">
        </LoadingPanel>
      </Styles>
      <Images ImageFolder="~/App_Themes/Office2003 Blue/{0}/">
        <FilterRowButton Height="13px" Width="13px" />
        <CollapsedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvCollapsedButton.png"
          Width="11px" />
        <ExpandedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvExpandedButton.png"
          Width="11px" />
        <DetailCollapsedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvCollapsedButton.png"
          Width="11px" />
        <DetailExpandedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvExpandedButton.png"
          Width="11px" />
      </Images>
      <Columns>
        <dxwgv:GridViewDataTextColumn Caption="序号" FieldName="ID" VisibleIndex="0" Width="40px">
        </dxwgv:GridViewDataTextColumn>
        <dxwgv:GridViewDataTextColumn Caption="操作人" FieldName="CZR" VisibleIndex="1" Width="100px">
          <Settings AutoFilterCondition="Equals" />
        </dxwgv:GridViewDataTextColumn>
        <dxwgv:GridViewDataTextColumn Caption="起始时间" FieldName="QSRQ" VisibleIndex="1" Width="100px">
        </dxwgv:GridViewDataTextColumn>
        <dxwgv:GridViewDataTextColumn Caption="结束时间" FieldName="JSRQ" VisibleIndex="1" Width="100px">
        </dxwgv:GridViewDataTextColumn>
        <dxwgv:GridViewDataTextColumn Caption="用气性质" FieldName="YQXZ" VisibleIndex="1" Width="100px">
        </dxwgv:GridViewDataTextColumn>
      </Columns>
      <Settings ShowFilterRowMenu="true" ShowFilterRow="true" />
      <StylesEditors>
        <ProgressBar Height="25px">
        </ProgressBar>
      </StylesEditors>
    </dxwgv:ASPxGridView>
  </div>
  </form>
</body>
</html>
